package com.xiaoshuidi.cloud.module.member.controller.app.feedback.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class MemberFeedbackCreateReqVO {

    @Schema(description = "反馈人姓名")
    @NotNull(message = "请填写姓名")
    private String userName;

    @Schema(description = "联系方式")
    @NotNull(message = "请填写联系方式")
    private String mobile;

    @Schema(description = "反馈内容")
    @NotNull(message = "请填写联系方式")
    @Size(max = 300, message = "反馈内容限制300字")
    private String feedback;

    @Schema(description = "反馈图片")
    private List<String> feedbackImages;
}
